<?php $userMsg = getLoginMsg();?>
<div class="container-fluid" style="padding: 20px 10px 0px 10px">
    <div class="row-fluid">
        <div class="well">
            <ul class="nav nav-tabs">
                <li class="active"><b>添加护士</b></li>
            </ul>
            <div id="myTabContent" class="tab-content">
                <form action="/user/addNurse" method="post" id="nurse_form">
                    <input type="hidden" name="dosubmit" value="1">
                        <p style="margin-left: 10px;">&nbsp;&nbsp;&nbsp;&nbsp;姓名：<input type="text" class="name" name="uname" placeholder="姓名"/>
                            <span class="error-notic"></span>
                        </p>
                        <p style="margin-left: 5px;">&nbsp;&nbsp;手机号：<input type="text" class="mobile" name="mobile" placeholder="手机号"/>
                            <span class="error-notic"></span>
                        </p>
                        <p style="margin-left: 11px;">&nbsp;&nbsp;&nbsp;&nbsp;密码：<input type="password" class="password" name="password" placeholder="密码"/>
                            <span class="error-notic"></span>
                        </p>
                        <p style="margin-left: -1px;">确认密码：<input type="password" class="rePassword" name="rePassword" placeholder="确认密码"/>
                            <span class="error-notic"></span>
                        </p>
                        <div class="btn-toolbar">
                            <button class="btn btn-primary" id="btn-save" style="margin-left:60px;margin-top:19px"><i class="icon-save"></i> 保存</button>
                        </div>
                </form>
            </div>

        </div>
    </div>
</div>
<script>
    $('#btn-save').click(function(){
        $('#nurse_form').submit();
    });
</script>